<include file="public/min-header"/>
<link href="__PUBLIC__/plugins/daterangepicker/daterangepicker-bs3.css" rel="stylesheet" type="text/css" />
<script src="__PUBLIC__/plugins/daterangepicker/moment.min.js" type="text/javascript"></script>
<script src="__PUBLIC__/plugins/daterangepicker/daterangepicker.js" type="text/javascript"></script>
<script src="__PUBLIC__/plugins/jQuery-chosen/js/chosen.jquery.js" type="text/javascript"></script>
<link href="__PUBLIC__/plugins/jQuery-chosen/css/chosen.css" rel="stylesheet" type="text/css" />

<div class="wrapper">
    <include file="public/breadcrumb"/>
    <section class="content ">
        <!-- Main content -->
        <div class="container-fluid">

            <div class="panel panel-default">
                <div class="panel-body ">
                    <!--表单数据-->
                    <form method="post" id="handle_shop">

                        <!--通用信息-->
                        <div class="tab-content col-md-10">
                            <div class="tab-pane active" id="tab_tongyong">
                                <table class="table table-bordered">
                                    <tbody>

                                    <tr>
                                        <td class="col-sm-2"><span style="color:#F00;">*</span>勋章名称：</td>
                                        <td class="col-sm-8">
                                            <input type="text" class="form-control" name="medalName" placeholder="请输入勋章名称">
                                        </td>
                                    </tr>

                                    <tr>
                                        <td><span style="color:#F00;">*</span>激活图片：</td>
                                        <td class="col-sm-8">
                                            <div class="col-sm-4">
                                                <input type="text" class="form-control" style="width:350px;margin-left:-15px;" name="activationMedaImage" id="activationMedaImage" >
                                            </div>
                                            <div class="col-sm-4">
                                                <input type="button" class="btn btn-default" onClick="GetUploadify(1,'activationMedaImage','medal','')"  value="上传图片"/>
                                            </div>
                                        </td>
                                    </tr>

                                    <tr>
                                        <td><span style="color:#F00;">*</span>未激活图片：</td>
                                        <td class="col-sm-8">
                                            <div class="col-sm-4">
                                                <input type="text" class="form-control" style="width:350px;margin-left:-15px;" name="noActivationMedaImage" id="noActivationMedaImage" >
                                            </div>
                                            <div class="col-sm-4">
                                                <input type="button" class="btn btn-default" onClick="GetUploadify(1,'noActivationMedaImage','medal','')"  value="上传图片"/>
                                            </div>
                                        </td>
                                    </tr>

                                    </tbody>
                                    <tfoot>
                                    <tr>
                                        <td></td>
                                        <td class="text-right"><input class="btn btn-primary" type="button" onclick="shop_submit()" value="保存"></td>
                                    </tr>
                                    </tfoot>
                                </table>
                            </div>
                        </div>
                    </form><!--表单数据-->
                </div>
            </div>
        </div>
    </section>
</div>
<script>
    $('#userId').chosen();
    function shop_submit(){
        ajax_form_submit("handle_shop", "{:url('medal/doAdd')}");
    }
</script>
</body>
</html>